package com.shiyingzi.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shiyingzi.product.dao.AppBOccupationalDao;
import com.shiyingzi.product.model.AppBOccupational;
import com.shiyingzi.product.service.AppBOccupationalService;



@Service(AppBOccupationalService.BEAN_ID)
public class AppBOccupationalServiceImpl implements AppBOccupationalService{

	@Autowired
	private AppBOccupationalDao appBOccupationalDao;
	@Override
	public AppBOccupational addAppBOccupational(AppBOccupational code) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public AppBOccupational getProductByAppAId(Integer appAId) {
		AppBOccupational app = new AppBOccupational();
		app.setAppAId(appAId);
		AppBOccupational abo=appBOccupationalDao.selectOne(app);
		return abo;
	}

}
